package android.rockchip.update.utils;

import android.os.Environment;

public interface Constants {
    // Developer
    boolean DEBUGGING = true;
    boolean DEBUG_NOTIFICATIONS = false;

    // Props
    String OTA_ROMNAME = "ro.ota.romname";
    String OTA_VERSION = "ro.ota.version";
    String OTA_DOWNLOAD_LOC = "ro.ota.download_loc";
    String OTA_DEFAULT_THEME = "ro.ota.default_theme";

    // Storage
    String SD_CARD = Environment.getExternalStorageDirectory().getAbsolutePath();
    String OTA_DOWNLOAD_DIR = "OTAUpdates";
    String INSTALL_AFTER_FLASH_DIR = "InstallAfterFlash";

    // Networks
    String WIFI_ONLY = "2";

    // Theme
    String THEME_LIGHT = "0";
    String THEME_DARK = "2";

    // Settings
    String CURRENT_THEME = "current_theme";
    String LAST_CHECKED = "updater_last_update_check";
    String IS_DOWNLOAD_FINISHED = "is_download_finished";
    String DELETE_AFTER_INSTALL = "delete_after_install";
    String INSTALL_PREFS = "install_prefs";
    String WIPE_DATA = "wipe_data";
    String WIPE_CACHE = "wipe_cache";
    String WIPE_DALVIK = "wipe_dalvik";
    String MD5_PASSED = "md5_passed";
    String MD5_RUN = "md5_run";
    String DOWNLOAD_RUNNING = "download_running";
    String NETWORK_TYPE = "network_type";
    String DOWNLOAD_ID = "download_id";
    String UPDATER_BACK_SERVICE = "background_service";
    String UPDATER_BACK_FREQ = "background_frequency";
    String UPDATER_ENABLE_ORS = "updater_twrp_ors";
    String NOTIFICATIONS_SOUND = "notifications_sound";
    String NOTIFICATIONS_VIBRATE = "notifications_vibrate";
    String IGNORE_RELEASE_VERSION = "ignored_release";
    String OLD_CHANGELOG = "old_changelog";
    String FIRST_RUN = "first_run";
    String STORAGE_LOCATION = "updater_storage_location";
    String UPDATE_DESTRIPTION = "update_description";

    // Broadcast intents
    String MANIFEST_LOADED = "com.ota.update.MANIFEST_LOADED";
    String MANIFEST_CHECK_BACKGROUND = "com.ota.update.MANIFEST_CHECK_BACKGROUND";
    String START_UPDATE_CHECK = "com.ota.update.START_UPDATE_CHECK";
    String IGNORE_RELEASE = "com.ota.update.IGNORE_RELEASE";

    //Notification
    int NOTIFICATION_ID = 101;

}
